<template>
	<view class="page_box">
		<view class="head_box ">
			<yy-custom bgColor="" v-if="0">
				<block slot="backText">返回</block>
				<block slot="content">个人中心</block>
			</yy-custom>
		</view>

		<view class="content_box padding-lr">
			<view class="flex padding-tb-xs align-center margin-bottom">
				<text class="f26 text-gray mr63" :class="c == 1 ? 'style' : ''" @click="click(1)">
					我的学生
				</text>
				<text class="f26 text-gray" :class="c == 2 ? 'style' : ''" @click="click(2)">教师团队</text>
			</view>
			<block v-for="(item, index) in 10" :key="index">
				<view class="flex padding-tb-xs solid-bottom align-center">
					<image src="https://sprtcar.oss-cn-chengdu.aliyuncs.com/home/weix.jpg" mode="aspectFill" class="w80 h80 round bg-gray"></image>
					<text class="ml35 f28">张悦{{$u.random(1,55)}}</text>
				</view>
			</block>
		</view>
		<view class="foot_box"></view>
		<!-- 登录提示 -->
		<yy-login v-if="false"></yy-login>
		<!-- 加载提示 -->
		<yy-loading text="加载中.." mask="true" click="true" ref="loading"></yy-loading>
		<!-- 信息提示-->
		<u-toast ref="uToast" />
	</view>
</template>

<script>
import XsuuSwiper from '../../components/Xss-swiper/Xsuu-swiper.vue';
export default {
	components: { XsuuSwiper },
	data() {
		return {
			c: 1
		};
	},
	onShow() {},
	onLoad(e) {},
	methods: {
		click(e) {
			this.c = e;
		}
	}
};
</script>

<style lang="scss" scoped>
.page_box {
	.head_box {
	}
	.content_box {
		.style {
			font-size: 32rpx;
			font-weight: bold;
			color: #000000;
		}
		.style::after {
			content: '';
			display: block;
			display: flex;
			flex-direction: column;
			width: 64rpx;
			height: 6rpx;
			background: #f07203;
			border-radius: 3rpx;
			margin-top: 10rpx;
		}
	}
}
</style>
